<?
/**
 * <b>SMSSubscriptionType Class</b>
 * Published 04/11/2010 19:00:28
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('WirelessCarrierIDCodeType.php');
require_once('SMSSubscriptionUserStatusCodeType.php');
require_once('ItemIDType.php');
require_once('SMSSubscriptionErrorCodeCodeType.php');

class SMSSubscriptionType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var WirelessCarrierIDCodeType $CarrierID
	public $CarrierID;
	// @var SMSSubscriptionErrorCodeCodeType $ErrorCode
	public $ErrorCode;
	// @var ItemIDType $ItemToUnsubscribe
	public $ItemToUnsubscribe;
	// @var string $SMSPhone
	public $SMSPhone;
	// @var SMSSubscriptionUserStatusCodeType $UserStatus
	public $UserStatus;
 /** End Properties **/

/**
 *
 * @return WirelessCarrierIDCodeType
 */
	function getCarrierID(){
		return $this->CarrierID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCarrierID($value){
		$this->CarrierID = $value;
	}


/**
 *
 * @return SMSSubscriptionErrorCodeCodeType
 */
	function getErrorCode(){
		return $this->ErrorCode;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setErrorCode($value){
		$this->ErrorCode = $value;
	}


/**
 *
 * @return ItemIDType
 */
	function getItemToUnsubscribe(){
		return $this->ItemToUnsubscribe;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setItemToUnsubscribe($value){
		$this->ItemToUnsubscribe = $value;
	}


/**
 *
 * @return string
 */
	function getSMSPhone(){
		return $this->SMSPhone;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setSMSPhone($value){
		$this->SMSPhone = $value;
	}


/**
 *
 * @return SMSSubscriptionUserStatusCodeType
 */
	function getUserStatus(){
		return $this->UserStatus;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setUserStatus($value){
		$this->UserStatus = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("SMSSubscriptionType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"CarrierID"=>
					array(
						"required"=>false,
						"type"=>"WirelessCarrierIDCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ErrorCode"=>
					array(
						"required"=>false,
						"type"=>"SMSSubscriptionErrorCodeCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ItemToUnsubscribe"=>
					array(
						"required"=>false,
						"type"=>"ItemIDType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"SMSPhone"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"UserStatus"=>
					array(
						"required"=>false,
						"type"=>"SMSSubscriptionUserStatusCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
